//
//  VersionViewController.m
//  NOAHWM
//
//  Created by Ryan on 13-7-10.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import "VersionViewController.h"

@interface VersionViewController ()

@end

@implementation VersionViewController

@synthesize versionImageView;

#pragma mark - BaseViewController methods
- (void)leftItemTapped
{
    [self.navigationController popViewControllerAnimated:YES];
}

#pragma mark - UIViewController methods

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self setLeftNaviItemWithTitle:nil imageName:@"Icon_Back"];
    [self setRightNaviItemWithTitle:nil imageName:nil];
    [self setNaviTitle:@"版本信息"];
    
    if(Is4InchSizeScreen)
    {
        self.versionImageView.image = [UIImage imageNamed:@"versionInfo-568@2x.jpg"];
    }
    else
    {
        self.versionImageView.image = [UIImage imageNamed:@"versionInfo@2x.jpg"];
    }
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
    if(self.isViewLoaded && !self.view.window)
    {
        self.view = nil;
        self.versionImageView = nil;
    }
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    self.versionImageView = nil;
}

- (void)dealloc
{
    [super dealloc];
}
@end
